﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>LINUX version</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>
<P><A 
href="http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/"><FONT 
face=Courier>http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/</FONT></A></P>
<P><FONT face=Courier>How do I find out what version of 
Linux distribution I'm using from the shell prompt?</FONT>           
    </P>
<P><FONT face=Courier>To find out what version of Linux (distro) you are 
running, enter the following command at the shell prompt:<BR><FONT color=#008000>$ cat 
/etc/*-release</FONT>  </FONT><FONT color=#008000> </FONT>  
</P>
<P><FONT face=Courier>Sample output on RHEL 5:</FONT>    </P>
<P><FONT face=Courier>Red Hat Enterprise Linux Server release 5 
(Tikanga)<BR>Sample outputs on Ubuntu 
v7.10:<BR>DISTRIB_ID=Ubuntu<BR>DISTRIB_RELEASE=7.10<BR>DISTRIB_CODENAME=gutsy<BR>DISTRIB_DESCRIPTION="Ubuntu 7.10"</FONT> 
</P>
<P><FONT size=5><STRONG><FONT color=#ff0000><FONT face=Courier>lsb_release Command</FONT> </FONT> 
</STRONG> </FONT> </P>
<P><FONT face=Courier>The lsb_release command displays certain LSB (Linux 
Standard Base) and distribution-specific information. Type the following 
command:<BR><FONT 
color=#008000>$ lsb_release -a</FONT>  </FONT><FONT color=#008000> </FONT>  </P>
<P><FONT face=Courier>Sample outputs:</FONT> </P>
<P><FONT face=Courier>No LSB modules are available.<BR>Distributor 
ID:&nbsp;Debian<BR>Description:&nbsp;Debian GNU/Linux 6.0.1 
(squeeze)<BR>Release:&nbsp;6.0.1<BR>Codename:&nbsp;squeeze<BR>   
    </FONT>     
  </P>
<P><FONT color=#ff0000><FONT face=Courier><FONT 
size=5><STRONG><FONT >How Do I 
Find Out My Kernel Version?</FONT> </STRONG></FONT></FONT></FONT>     
  </P>
<P><FONT ><FONT face=Courier>Type the following command:<BR><FONT color=#008000>$ uname 
-mrs</FONT></FONT>  </FONT><FONT color=#008000> </FONT>  </P>
<P><FONT face=Courier>Sample outputs:</FONT> </P>
<P><FONT face=Courier>Linux 2.6.32-5-amd64 
x86_64</FONT>  </P>
<P><FONT face=Courier>Where,</FONT></P>
<P><BR><FONT face=Courier>Linux - 
Kernel name</FONT>   </P>
<P><FONT face=Courier>2.6.32-5-amd64 - Kernel version 
number</FONT>    </P>
<P><FONT face=Courier>x86_64&nbsp; -&nbsp; Machine hardware 
name (64 bit)</FONT>      </P>
<P><BR><FONT face=Courier>Updated for 
accuracy.</FONT>  </P></body>
</html>
